package sepe.chenli.unit4.task4_2;

public class Customer1 {
    private int userID;
    public String userName;
    private  char sex;
    protected String phone;
    private String homePhone;
    private  String email;
    private String qq;
    private String cardID;
    private String address;
    public Customer1(){
        System.out.println("这是客户类构造方法！");
    }
    public Customer1(int userID,String userName,char sex,String phone,String homePhone
                       ,String email,String qq,String cardID,String address){
        System.out.println("这是带参数的客户构造方法！");
        this.userID=userID;
        this.userName=userName;
        this.sex=sex;
        this.phone=phone;
        this.homePhone=homePhone;
        this.email=email;
        this.qq=qq;
        this.cardID=cardID;
        this.address=address;

    }
   public void showUserName(){
       System.out.println("客户的姓名："+userName);
   }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserName() {
        return userName;
    }
}
